
<script lang="ts" setup>
import EChartsComponent from './EChartsComponent.vue';

const kLineData = [
        { date: '日期' },
        { date: '2024-08-02', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-03', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-04', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-05', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-06', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-07', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-07', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-08', open: 10, close: 12, low: 9, high: 13 },
        { date: '2024-08-10', open: 12, close: 14, low: 11, high: 15 },
        // 更多数据...
      ]

</script>


<template>
<p onclick="iin">滑动</p>    
<div>
<EChartsComponent :data="kLineData" />
</div>
</template>
  

  